﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;
using System.Runtime.Serialization;

namespace RaveEngine.Engine.Query.Aggregate
{
    [Serializable, XmlRoot, DataContract]
    public partial class raveAggregateConfig : BaseRaveConfig
    {
        [DataMember]
        [XmlElement]
        public string[] urls { get; set; }

        [DataMember]
        [XmlElement]
        public dataField[] dataFields { get; set; }

    }

    [Serializable, XmlRoot, DataContract]
    public partial class dataField
    {
        [DataMember]
        [XmlElement]
        public postExecuteRegex[] postRegex { get; set; }

        [DataMember]
        [XmlAttribute]
        public string name { get; set; }

        [DataMember]
        [XmlAttribute]
        public string type { get; set; }

        [DataMember]
        [XmlAttribute]
        public string value { get; set; }
    }

}
